package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName( "tz_melt_cloud_group_channel_user")
@Schema(description = "频道用户")
@Builder
public class MeltCloudChannelUser {

    @Schema(description = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "超级群组 ID")
    private Long groupId;

    @Schema(description = "频道id")
    private String channelId;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = " 0 正常 1 删除")
    private Integer isDel;

    @Schema(description = "创建时间")
    private Date createTime;
}
